
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>9.HTML head · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="10-css.html" />
    
    
    <link rel="prev" href="8-link.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" >
            
                <span>
            
                    
                    入门
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="../">
            
                <a href="../">
            
                    
                    0.HTML 介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="1-introduce.html">
            
                <a href="1-introduce.html">
            
                    
                    1.HTML 简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="2-basice.html">
            
                <a href="2-basice.html">
            
                    
                    2.HTML 基础
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    基础
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="3-element.html">
            
                <a href="3-element.html">
            
                    
                    3.HTML 元素
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="4-attritube.html">
            
                <a href="4-attritube.html">
            
                    
                    4.HTML 属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="5-title.html">
            
                <a href="5-title.html">
            
                    
                    5.HTML 标题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="6-paragraph.html">
            
                <a href="6-paragraph.html">
            
                    
                    6.HTML 段落
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="7-textformat.html">
            
                <a href="7-textformat.html">
            
                    
                    7.HTML 文本格式化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="8-link.html">
            
                <a href="8-link.html">
            
                    
                    8.HTML 超链接
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.7" data-path="9-head.html">
            
                <a href="9-head.html">
            
                    
                    9.HTML head
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="10-css.html">
            
                <a href="10-css.html">
            
                    
                    10.HTML CSS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="11-imgs.html">
            
                <a href="11-imgs.html">
            
                    
                    11.HTML 图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.10" data-path="12-tables.html">
            
                <a href="12-tables.html">
            
                    
                    12.HTML 表格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.11" data-path="13-list.html">
            
                <a href="13-list.html">
            
                    
                    13.HTML 列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.12" data-path="14-block.html">
            
                <a href="14-block.html">
            
                    
                    14.HTML 区块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.13" data-path="15-layouts.html">
            
                <a href="15-layouts.html">
            
                    
                    15.HTML 布局
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="support.html">
            
                <a href="support.html">
            
                    
                    赞助/支持
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >9.HTML head</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="html-">HTML <head></head></h1>
<h2 id="html--&#x5143;&#x7D20;">HTML <head> &#x5143;&#x7D20;</head></h2>
<p><code>&lt;head&gt;</code> &#x5143;&#x7D20;&#x5305;&#x542B;&#x4E86;&#x6240;&#x6709;&#x7684;&#x5934;&#x90E8;&#x6807;&#x7B7E;&#x5143;&#x7D20;&#x3002;&#x5728; <code>&lt;head&gt;</code> &#x5143;&#x7D20;&#x4E2D;&#x4F60;&#x53EF;&#x4EE5;&#x63D2;&#x5165;&#x811A;&#x672C;&#xFF08;Scipts&#xFF09;&#xFF0C;&#x6837;&#x5F0F;&#x95EE;&#x5377;&#xFF08;CSS&#xFF09;&#xFF0C;&#x53CA;&#x5404;&#x79CD; meta &#x4FE1;&#x606F;&#x3002;  </p>
<p>&#x53EF;&#x4EE5;&#x6DFB;&#x52A0;&#x5728;&#x5934;&#x90E8;&#x533A;&#x57DF;&#x7684;&#x5143;&#x7D20;&#x6807;&#x7B7E;&#x4E3A;&#xFF1A;<code>&lt;title&gt;, &lt;style&gt;, &lt;meta&gt;, &lt;link&gt;, &lt;script&gt;, &lt;noscript&gt; &#x548C; &lt;base&gt;</code>&#x3002;  </p>
<hr>
<h2 id="html--&#x5143;&#x7D20;">HTML <title> &#x5143;&#x7D20;</title></h2>
<p><code>&lt;title&gt;</code> &#x6807;&#x7B7E;&#x5B9A;&#x4E49;&#x4E86;&#x4E0D;&#x540C;&#x6587;&#x6863;&#x7684;&#x6807;&#x9898;&#x3002;<br><code>&lt;title&gt;</code> &#x5728; HTML/XHTML &#x6587;&#x6863;&#x4E2D;&#x662F;&#x5FC5;&#x987B;&#x7684;<br><code>&lt;title&gt;</code> &#x5143;&#x7D20;&#xFF1A;  </p>
<ul>
<li>&#x5B9A;&#x4E49;&#x4E86;&#x6D4F;&#x89C8;&#x5668;&#x5DE5;&#x5177;&#x680F;&#x7684;&#x6807;&#x9898;  </li>
<li>&#x5F53;&#x7F51;&#x9875;&#x6DFB;&#x52A0;&#x5230;&#x6536;&#x85CF;&#x5939;&#x65F6;&#xFF0C;&#x663E;&#x793A;&#x5728;&#x6536;&#x85CF;&#x5939;&#x4E2D;&#x7684;&#x6807;&#x9898;  </li>
<li>&#x663E;&#x793A;&#x5728;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x7ED3;&#x679C;&#x9875;&#x9762;&#x7684;&#x6807;&#x9898;  </li>
</ul>
<p>&#x4E00;&#x4E2A;&#x7B80;&#x5355;&#x7684; HTLM &#x6587;&#x6863;  </p>
<pre><code class="lang-html"><span class="hljs-meta">&lt;!DOCTYPE html&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>&#x6587;&#x6863;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
&#x6587;&#x6863;&#x5185;&#x5BB9;&#x3002;&#x3002;&#x3002;
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<hr>
<h2 id="html--&#x5143;&#x7D20;">HTML <base> &#x5143;&#x7D20;</h2>
<p><code>&lt;base&gt;</code> &#x6807;&#x7B7E;&#x63CF;&#x8FF0;&#x4E86;&#x57FA;&#x672C;&#x7684;&#x94FE;&#x63A5;&#x5730;&#x5740;/&#x94FE;&#x63A5;&#x76EE;&#x6807;&#xFF0C;&#x8BE5;&#x6807;&#x7B7E;&#x4F5C;&#x4E3A; HTML &#x6587;&#x6863;&#x4E2D;&#x6240;&#x6709;&#x7684;&#x94FE;&#x63A5;&#x6807;&#x7B7E;&#x7684;&#x9ED8;&#x8BA4;&#x94FE;&#x63A5;&#xFF1A; </p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">base</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;http://www.devidtien.xyz/images/&quot;</span> <span class="hljs-attr">target</span>=<span class="hljs-string">&quot;_blank&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
</code></pre>
<p>&#x901A;&#x5E38;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x6D4F;&#x89C8;&#x5668;&#x4F1A;&#x4ECE;&#x5F53;&#x524D;&#x6587;&#x6863; URL &#x4E2D;&#x63D0;&#x53D6;&#x54CD;&#x5E94;&#x7684;&#x5143;&#x7D20;&#x6765;&#x586B;&#x5199;&#x76F8;&#x5BF9; URL &#x4E2D;&#x7684;&#x7A7A;&#x767D;&#x3002;<br>&#x4F7F;&#x7528; <code>&lt;base&gt;</code> &#x6807;&#x7B7E;&#x53EF;&#x4EE5;&#x6539;&#x53D8;&#x8FD9;&#x4E00;&#x70B9;&#x3002;&#x6D4F;&#x89C8;&#x5668;&#x968F;&#x540E;&#x5C06;&#x4E0D;&#x518D;&#x4F7F;&#x7528;&#x5F53;&#x524D;&#x6587;&#x6863;&#x7684; URL&#xFF0C;&#x800C;&#x4F7F;&#x7528;&#x6307;&#x5B9A;&#x7684;&#x57FA;&#x672C; URL &#x6765;&#x89E3;&#x6790;&#x6240;&#x6709;&#x7684;&#x76F8;&#x5BF9; URL&#x3002;<br>&#x8FD9;&#x5176;&#x4E2D;&#x5305;&#x62EC; <code>&lt;a&gt;&#x3001;&lt;img&gt;&#x3001;&lt;link&gt;&#x3001;&lt;form&gt;</code> &#x6807;&#x7B7E;&#x4E2D;&#x7684; URL&#x3002;  </p>
<hr>
<h2 id="html--&#x5143;&#x7D20;">HTML <link> &#x5143;&#x7D20;</h2>
<p><code>&lt;link&gt;</code> &#x6807;&#x7B7E;&#x5B9A;&#x4E49;&#x4E86;&#x6587;&#x6863;&#x4E0E;&#x5916;&#x90E8;&#x8D44;&#x6E90;&#x4E4B;&#x95F4;&#x7684;&#x5173;&#x7CFB;&#x3002;<br><code>&lt;link&gt;</code> &#x6807;&#x7B7E;&#x901A;&#x5E38;&#x7528;&#x4E8E;&#x94FE;&#x63A5;&#x5230;&#x6837;&#x5F0F;&#x8868;&#xFF1A;  </p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">&quot;stylesheet&quot;</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;text/css&quot;</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;mystyle.css&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
</code></pre>
<hr>
<h2 id="html--&#x5143;&#x7D20;">HTML <styel> &#x5143;&#x7D20;</styel></h2>
<p><code>&lt;style&gt;</code> &#x6807;&#x7B7E;&#x5B9A;&#x4E49;&#x4E86; HTML &#x6587;&#x6863;&#x7684;&#x6837;&#x5F0F;&#x6587;&#x4EF6;&#x5F15;&#x7528;&#x5730;&#x5740;&#x3002;<br>&#x5728; <code>&lt;style&gt;</code> &#x5143;&#x7D20;&#x4E2D;&#x4F60;&#x4E5F;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x6DFB;&#x52A0;&#x6837;&#x5F0F;&#x6765;&#x6E32;&#x67D3; HTML &#x6587;&#x6863;&#xFF1A;  </p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">style</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;text/css&quot;</span>&gt;</span><span class="css">
<span class="hljs-selector-tag">body</span>{<span class="hljs-attribute">background-color</span>:yellow;}
<span class="hljs-selector-tag">p</span>{<span class="hljs-attribute">color</span>:blue;}
</span><span class="hljs-tag">&lt;/<span class="hljs-name">style</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
</code></pre>
<hr>
<h2 id="html--&#x5143;&#x7D20;">HTML <meta> &#x5143;&#x7D20;</h2>
<p>meta &#x6807;&#x7B7E;&#x63CF;&#x8FF0;&#x4E86;&#x4E00;&#x4E9B;&#x57FA;&#x672C;&#x7684;&#x5143;&#x6570;&#x636E;&#x3002;<br><code>&lt;meta&gt;</code> &#x6807;&#x7B7E;&#x63D0;&#x4F9B;&#x4E86;&#x5143;&#x6570;&#x636E;&#xFF0C;&#x5143;&#x6570;&#x636E;&#x4E5F;&#x4E0D;&#x663E;&#x793A;&#x5728;&#x9875;&#x9762;&#x4E0A;&#xFF0C;&#x4F46;&#x662F;&#x4F1A;&#x88AB;&#x6D4F;&#x89C8;&#x5668;&#x89E3;&#x6790;&#x3002;<br>META &#x5143;&#x7D20;&#x901A;&#x5E38;&#x7528;&#x4E8E;&#x6307;&#x5B9A;&#x7F51;&#x9875;&#x7684;&#x63CF;&#x8FF0;&#xFF0C;&#x5173;&#x952E;&#x5B57;&#xFF0C;&#x6587;&#x4EF6;&#x7684;&#x6700;&#x540E;&#x4FEE;&#x6539;&#x65F6;&#x95F4;&#xFF0C;&#x5750;&#x7740;&#xFF0C;&#x548C;&#x5176;&#x4ED6;&#x5143;&#x6570;&#x636E;&#x3002;<br>&#x5143;&#x6570;&#x636E;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x4E8E;&#x6D4F;&#x89C8;&#x5668;&#xFF08;&#x5982;&#x4F55;&#x663E;&#x793A;&#x5185;&#x5BB9;&#x6216;&#x91CD;&#x65B0;&#x52A0;&#x8F7D;&#x9875;&#x9762;&#xFF09;&#xFF0C;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#xFF08;&#x5173;&#x952E;&#x8BCD;&#xFF09;&#xFF0C;&#x6216;&#x5176;&#x4ED6; Web &#x670D;&#x52A1;&#x3002;<br><code>&lt;meta&gt;</code> &#x4E00;&#x822C;&#x653E;&#x7F6E;&#x4E8E; <code>&lt;head&gt;</code> &#x533A;&#x57DF;  </p>
<h3 id="&#x6807;&#x7B7E;-&#x4F7F;&#x7528;&#x5B9E;&#x4F8B;"><meta> &#x6807;&#x7B7E;-&#x4F7F;&#x7528;&#x5B9E;&#x4F8B;</h3>
<pre><code class="lang-html"><span class="hljs-comment">&lt;!-- &#x4E3A;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x5B9A;&#x4E49;&#x5173;&#x952E;&#x8BCD;&#xFF1A; --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">name</span>=<span class="hljs-string">&quot;keywords&quot;</span> <span class="hljs-attr">content</span>=<span class="hljs-string">&quot;HTML, CSS, XML, XHTML, JavaScript&quot;</span>&gt;</span>

<span class="hljs-comment">&lt;!-- &#x4E3A;&#x7F51;&#x9875;&#x5B9A;&#x4E49;&#x63CF;&#x8FF0;&#x5185;&#x5BB9;&#xFF1A; --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">name</span>=<span class="hljs-string">&quot;description&quot;</span> <span class="hljs-attr">content</span>=<span class="hljs-string">&quot;&#x4F18;&#x79C0; Web &#x6559;&#x7A0B;&quot;</span>&gt;</span>

<span class="hljs-comment">&lt;!-- &#x5B9A;&#x4E49;&#x7F51;&#x9875;&#x4F5C;&#x8005; --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">name</span>=<span class="hljs-string">&quot;author&quot;</span> <span class="hljs-attr">content</span>=<span class="hljs-string">&quot;DavidTien&quot;</span>&gt;</span>

<span class="hljs-comment">&lt;!-- &#x6BCF; 30 &#x79D2;&#x5237;&#x65B0;&#x5F53;&#x524D;&#x9875;&#x9762; --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">meta</span> <span class="hljs-attr">http-equiv</span>=<span class="hljs-string">&quot;refresh&quot;</span> <span class="hljs-attr">content</span>=<span class="hljs-string">&quot;30&quot;</span>&gt;</span>
</code></pre>
<hr>
<h2 id="html--&#x5143;&#x7D20;h2
pcodeltscriptgtcode-&#x6807;&#x7B7E;&#x7528;&#x4E8E;&#x52A0;&#x8F7D;&#x811A;&#x672C;&#x6587;&#x4EF6;&#xFF0C;&#x5982;&#xFF1A;-javascript&#x3002;brcodeltscriptgtcode-&#x5143;&#x7D20;&#x5728;&#x4EE5;&#x540E;&#x4F1A;&#x8BE6;&#x7EC6;&#x5B66;&#x4E60;&#x3002;--p
hr
h2html-head-&#x5143;&#x7D20;h2
table
thead
tr
th-styletext-aligncenter&#x6807;&#x7B7E;th
th-styletext-aligncenter&#x63CF;&#x8FF0;th
tr
thead
tbody
tr
td-styletext-aligncentercodeltheadgtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;&#x6587;&#x6863;&#x7684;&#x4FE1;&#x606F;td
tr
tr
td-styletext-aligncentercodelttitlegtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;&#x6587;&#x6863;&#x7684;&#x6807;&#x9898;td
tr
tr
td-styletext-aligncentercodeltbasegtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;&#x9875;&#x9762;&#x94FE;&#x63A5;&#x6807;&#x7B7E;&#x7684;&#x9ED8;&#x8BA4;&#x94FE;&#x63A5;&#x5730;&#x5740;td
tr
tr
td-styletext-aligncentercodeltlinkgtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;&#x4E00;&#x4E2A;&#x6587;&#x6863;&#x548C;&#x5916;&#x90E8;&#x8D44;&#x6E90;&#x4E4B;&#x95F4;&#x7684;&#x5173;&#x7CFB;td
tr
tr
td-styletext-aligncentercodeltmetagtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;-hmtl-&#x6587;&#x6863;&#x627E;&#x90A3;&#x4E2A;&#x7684;&#x5143;&#x6570;&#x636E;td
tr
tr
td-styletext-aligncentercodeltscriptgtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;&#x5BA2;&#x6237;&#x7AEF;&#x7684;&#x811A;&#x672C;&#x6587;&#x4EF6;td
tr
tr
td-styletext-aligncentercodeltstylegtcodetd
td-styletext-aligncenter&#x5B9A;&#x4E49;&#x4E86;-html-&#x6587;&#x6863;&#x7684;&#x6837;&#x5F0F;&#x6587;&#x4EF6;td
tr
tbody
table
">HTML <script> 元素</h2>
<p><code>&lt;script&gt;</code> 标签用于加载脚本文件，如： JavaScript。<br><code>&lt;script&gt;</code> 元素在以后会详细学习。  </p>
<hr>
<h2>HTML head 元素</h2>
<table>
<thead>
<tr>
<th style="text-align:center">标签</th>
<th style="text-align:center">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><code>&lt;head&gt;</code></td>
<td style="text-align:center">定义了文档的信息</td>
</tr>
<tr>
<td style="text-align:center"><code>&lt;title&gt;</code></td>
<td style="text-align:center">定义了文档的标题</td>
</tr>
<tr>
<td style="text-align:center"><code>&lt;base&gt;</code></td>
<td style="text-align:center">定义了页面链接标签的默认链接地址</td>
</tr>
<tr>
<td style="text-align:center"><code>&lt;link&gt;</code></td>
<td style="text-align:center">定义了一个文档和外部资源之间的关系</td>
</tr>
<tr>
<td style="text-align:center"><code>&lt;meta&gt;</code></td>
<td style="text-align:center">定义了 HMTL 文档找那个的元数据</td>
</tr>
<tr>
<td style="text-align:center"><code>&lt;script&gt;</code></td>
<td style="text-align:center">定义了客户端的脚本文件</td>
</tr>
<tr>
<td style="text-align:center"><code>&lt;style&gt;</code></td>
<td style="text-align:center">定义了 HTML 文档的样式文件</td>
</tr>
</tbody>
</table>
</script></h2>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="8-link.html" class="navigation navigation-prev " aria-label="Previous page: 8.HTML 超链接">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="10-css.html" class="navigation navigation-next " aria-label="Next page: 10.HTML CSS">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"9.HTML head","level":"1.2.7","depth":2,"next":{"title":"10.HTML CSS","level":"1.2.8","depth":2,"path":"docs/10-css.md","ref":"./docs/10-css.md","articles":[]},"previous":{"title":"8.HTML 超链接","level":"1.2.6","depth":2,"path":"docs/8-link.md","ref":"./docs/8-link.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"docs/9-head.md","mtime":"2020-07-14T12:54:37.621Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-14T15:48:00.710Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

